package com.jt.www.admin.stats.service.impl;

import com.jt.www.admin.stats.service.InsureStatsService;
import com.jt.www.enums.ResultEnum;
import com.jt.www.model.reps.ResultDTO;
import com.jt.www.model.vo.stats.businessyony.BusinessYonYParamVO;
import com.jt.www.model.vo.stats.businessyony.BusinessYonYResultVO;
import com.jt.www.model.vo.stats.businessyony.BusinessYonYSumVO;
import com.jt.www.model.vo.stats.educompleterate.EduCompleteRateParamVO;
import com.jt.www.model.vo.stats.educompleterate.EduCompleteRateResultVO;
import com.jt.www.model.vo.stats.educompleterate.EduCompleteRateSumVO;
import com.jt.www.model.vo.stats.edurevenue.EduRevenueParamVO;
import com.jt.www.model.vo.stats.edurevenue.EduRevenueResultVO;
import com.jt.www.model.vo.stats.jbwcuspay.JbwCusPayParamVO;
import com.jt.www.model.vo.stats.jbwcuspay.JbwCusPayResultVO;
import com.jt.www.model.vo.stats.tbfjx.TbfjxParamVO;
import com.jt.www.model.vo.stats.tbfjx.TbfjxResultVO;
import com.jt.www.model.vo.stats.tbfjx.TbfjxSumVO;
import com.jt.www.model.vo.stats.tbmaster.TbmasterInsResultVO;
import com.jt.www.model.vo.stats.tbmaster.TbmasterInsSumVO;
import com.jt.www.model.vo.stats.tbmaster.TbmasterInsVO;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;

/**
 * @author admin_ltf
 * @create 2019-05-14 9:57
 */
@Service
public class InsureStatsServiceImpl implements InsureStatsService {

    @Override
    public ResultDTO searchBusinessYonYInfo(BusinessYonYParamVO businessYonYParamVO) {
        // BusinessYonYResultVO
        List<BusinessYonYResultVO> list = new ArrayList<>();
        BusinessYonYResultVO vo = new BusinessYonYResultVO();
        list.add(vo);
        BusinessYonYSumVO svo = new BusinessYonYSumVO();
        HashMap map = new HashMap<String, Object>();
        map.put("resultList", list);
        map.put("summaryVo", svo);
        return new ResultDTO(ResultEnum.SUCCESS, map);
    }

    @Override
    public ResultDTO searchInfoByExample(TbmasterInsVO tbmasterInsVO) {
//        TbmasterInsResultVO   合计
        List<TbmasterInsResultVO> list = new ArrayList<>();
        TbmasterInsResultVO vo = new TbmasterInsResultVO();
        list.add(vo);
        TbmasterInsSumVO svo = new TbmasterInsSumVO();
        HashMap map = new HashMap<String, Object>();
        map.put("resultList", list);
        map.put("summaryVo", svo);
        return new ResultDTO(ResultEnum.SUCCESS, map);
    }

    @Override
    public ResultDTO searchTbfjxByExample(TbfjxParamVO tbfjxParamVO) {

//        TbfjxResultVO

        List<TbfjxResultVO> list = new ArrayList<>();
        TbfjxResultVO vo = new TbfjxResultVO();
        list.add(vo);
        TbfjxSumVO svo = new TbfjxSumVO();
        HashMap map = new HashMap<String, Object>();
        map.put("resultList", list);
        map.put("summaryVo", svo);
        return new ResultDTO(ResultEnum.SUCCESS, map);
    }

//    @Override
//    public ResultDTO searchJbwExpireFee(JbwExpireFeeParamVO vo) {
////        JbwExpireFeeResultVO
//        return null;
//    }
//
//    @Override
//    public ResultDTO searchAzxStatsInfo(AzxStatsParamVO vo) {
////        AzxStatsResultVO
//        return null;
//    }

    @Override
    public ResultDTO searchJbwCusPay(JbwCusPayParamVO jbwCusPayParamVO) {
        // JbwCusPayResultVO
        List<JbwCusPayResultVO> list = new ArrayList<>();
        JbwCusPayResultVO vo = new JbwCusPayResultVO();
        list.add(vo);
        HashMap map = new HashMap<String, Object>();
        map.put("resultList", list);
        return new ResultDTO(ResultEnum.SUCCESS, map);
    }

    @Override
    public ResultDTO searchEduRevenue(EduRevenueParamVO eduRevenueParamVO) {
        // EduRevenueResultVO
        List<EduRevenueResultVO> list = new ArrayList<>();
        EduRevenueResultVO vo = new EduRevenueResultVO();
        list.add(vo);
        HashMap map = new HashMap<String, Object>();
        map.put("resultList", list);
        return new ResultDTO(ResultEnum.SUCCESS, map);
    }

    @Override
    public ResultDTO searchEduCompleteRate(EduCompleteRateParamVO eduCompleteRateParamVO) {
//        EduCompleteRateResultVO
        List<EduCompleteRateResultVO> list = new ArrayList<>();
        EduCompleteRateResultVO vo = new EduCompleteRateResultVO();
        list.add(vo);
        EduCompleteRateSumVO svo = new EduCompleteRateSumVO();
        HashMap map = new HashMap<String, Object>();
        map.put("resultList", list);
        map.put("summaryVo", svo);
        return new ResultDTO(ResultEnum.SUCCESS, map);
    }


}
